import request from '@/utils/request'

export function list(query) {
  return request({
    url: '/activiti/deployment/list',
    method: 'get',
    params: query
  })
}

export function remove(id) {
  return request({
    url: '/activiti/deployment/remove/'+id,
    method: 'delete',
  })
}

export function apply(id) {
  return request({
    url: '/activiti/apply/start/'+id,
    method: 'get',
  })
}

